Give the ASCII value of the character you would like to use
bother
bplus
bdash
bother
"$Options$"
buttonUp
buttonUp
$Options$
$TextOptions$
makePage n,pt
4lasttag
makenewPage n
attribute("
t",pt)
nextpage
beforeHypertext "Question","
h,ar,ca"
done
process(
allow",t)
cAllow(cc)
textto(n)
Correct(cc)
aAllow(ac)
textstring()
Anticipated(ac)
tagstring())
Feedback(ac)
close(n)
znothing
expected
Tell",n
Hint",n
nullstring
nAnticipated
nCorrect
-- These
tthree handlers could usefully be
the Book
tag -- returns
checks
closes
errorMessage
{) && "
:"Text" &&
&& "where
xallowed."
initialize
hidden
BNext"
cleared
,Remark"
localTags
addTags "ca,
h,ar,fb,ht"
makePage
nullstring
initialize
expected
localTags
textto
makePage
makenewPage
attribute
nextpage
beforeHypertext
Question
cr,ar,ca
process
allow
attribute
cAllow
textto
Correct
allow
attribute
aAllow
textstring
Anticipated
tagstring
process
textto
Feedback
close
bexpected
close
Hypertext
Hypertext
close
nullstring
tagstring
nAnticipated
nCorrect
lasttag
textto
textstring
tagstring
process
close
bexpected
close
expected
#errorMessage
close
expected.
nullstring
textstring
#errorMessage
where not allowed.
initialize
hidden
recordfield Hint,recordfield Tell,button Next
cleared
Feedback,Remark
localTags
L)addTags
ca,cr,ar,fb,ht
keyEnter
checkResponse
"Feedback"
"Remark"
responseCorrect(
responseAnticipated(
Incorrect
unrecognised
"Tell"
B"Next"
"Your answer
incorrect."
Wrong
Unrecognised
@was
xanticipated."
wrong
/> 1
"Hint"
/> 2
nCorrect
match(t,
,cAllow(i)
nAnticipated
,aAllow(i)
Match t,a,m
xIsNumber(t)
a = t
( t <= n+e)
( t >= n-e)
Spelling(a)
RemoveExtra(t,a)
Alphabet(a)
"[" & m & "]" && t && "|" && a
Reduce(
(w) -- always leave
"aeiouyh"
(r) > 4
[(s)
(s)-1
gi+1
IsBefore(n,t)
gi+1
U s,t
U(t)
j(ls,lt)
ns < nt
ns > nt
ls < lt
checkResponse
Incorrect
Unrecognised
Wrong
keyChar
Correct
Match
responseCorrect
IsNumber
RemoveExtra
Spelling
responseAnticipated
Reduce
Alphabet
IsBefore
keyChar
EcheckResponse
checkResponse
Feedback
Remark
responseCorrect
>Correct
responseAnticipated
Incorrect
unrecognised
Incorrect
Your answer is incorrect.
Remark
Wrong
Unrecognised
Your answer was not anticipated.
Remark
Wrong
Wrong
wrong
wrong
wrong
Correct
Your answer is correct.
Remark
responseCorrect
nCorrect
Correct
cAllow
match
responseAnticipated
nAnticipated
Anticipated
aAllow
match
Feedback
Feedback
Match
IsNumber
Spelling
Spelling
RemoveExtra
Alphabet
Alphabet
IsNumber
RemoveExtra
j:to1
Spelling
Reduce
Reduce
aeiouyh
Alphabet
IsBefore
i:to1
IsBefore
saveScores
stringData("scores")
recordfile")
;datapath") & "\" &
recordFile
n & "=" &
& CRLF
loadScores
done
readLine(
~("=",l)
oneof(n,s)
setData n,v
Error n && "
xrecognised [" & s & "]
:" &&
wrong
saveScores
loadScores
saveScores
scores
stringData
recordfile
stringData
datapath
stringData
recordfile
stringData
recordFile
loadScores
scores
stringData
recordfile
stringData
datapath
stringData
readLine
oneof
45setData
Error
not recognised [
] in record file:
Error
record file in wrong format.
recordFile
HyperBook
makePage n,pt
makeNewPage n
attribute("
t",pt)
destination(
nextpage
9more",pt)
morepage
dalso",pt)
alsopage
image",pt)
getImage
,300,"tl","Frame",
Hypertext "Text",pt
checkforscrollbar("
$ &&
fieldformat
initialize
setup
"setformat,showmenubar"
optionalbuttons
hidden
Popup"
makePage
initialize
makePage
makeNewPage
attribute
destination
nextpage
attribute
destination
morepage
attribute
destination
alsopage
image
attribute
_UgetImage
Frame
Hypertext
checkforscrollbar
fieldformat
initialize
setup
setformat,showmenubar
optionalbuttons
continue nextpage,more morepage,also alsopage
hidden
group Popup
R x N
Label
MASTER for HyperBook
PreviousPage
retreat
buttonUp
buttonUp
Cretreat
Continue
nextpage
advance
buttonUp
buttonUp
nextpage
\$advance
Computer Based Learning Unit
The University of Leeds v A 1.1 93120155555555993
morepage
advance
buttonUp
buttonUp
morepage
\$advance
alsopage
advance
buttonUp
buttonUp
alsopage
\$advance
Prompt
Popup
dismiss
dismiss
dismiss
Popup
Dismiss
dismiss
buttonUp
buttonUp
Fdismiss
DISMISS
Frame
Rewind
upLevel
buttonUp
buttonUp
GupLevel
scanEr
Control
$Control$
$Standard$
$Shared$
Contents
Pages
"Documentation"
enterpage
leavepage
enterpage
Documentation
leavepage
Documentation
Title: An example of an interactive document
$Title$
4addressstack
"$Shared$" --
documentation
enterpage
rightButtonUp
enterpage
addressstack
rightButtonUp
$Shared$
Title
:PHYSSIZE
Copyright
Error
4allowexit
sysSuspendMessages
buttonUp
buttonUp
allowexit
$Options$
4resourcesindex,defaultfile,destinationpath
"Resources Index"
"Defaultfile"
"DestinationPath"
enterpage
enterpage
Resources Index
Defaultfile
DestinationPath
resourcesindex
defaultfile
destinationpath
$Options$
4optionsFile
saveOptions
"$Control$"
buttonUp
buttonUp
saveOptions
$Control$
optionsFile
Formats
Formats
4defaultfile
("Give full path
inputfile"
"Defaultfile"
buttonUp
buttonUp
Give full path name of default inputfile
Defaultfile
defaultfile
Set default file
Defaultfile
sysLockscreen
"$TextOptions$"
buttonUp
buttonUp
$TextOptions$
Text Options
General Options
4resourcesindex
("Give full path
"Resources Index"
buttonUp
buttonUp
Give full path name of resource index
Resources Index
resourcesindex
Set resource index
Resources Index
Formats
4formats
selectedTextlines
"Formats"
[association
n & "
rightbuttonUp
tonUp
format
buttonUp
rightbuttonUp
buttonUp
format
format
button
Formats
Formats
format
formats
rightbuttonUp
format
f1format
f2format
f3format
f4format
f5format
f6format
f7format
f8format
f9format
f0format
Assign formats by clicking in the list to the right and then on the buttons in the above list.
4userFile
("Give full path
file"
getOptions
buttonUp
buttonUp
Give full path name of file
getOptions
enterpage
userFile
Load options from file
4userFile
("Give full path
file"
saveOptions
buttonUp
buttonUp
Give full path name of file
saveOptions
userFile
Copy options to file
4destinationpath
("Give
output file (no final \)"
"Destinationpath"
buttonUp
buttonUp
Give destination path for output file (no final \)
Destinationpath
destinationpath
Set destination path
DestinationPath
$Standard$
"Label"
enterPage
enterPage
Label
Label
Label
$Help$
dismiss
dismiss
buttonUp
dismiss
buttonUp
background
0bringToFront
foreground
Click on the kind of help you require go tooooooooooooooooooooooooo
$Help$
selectedTextlines
help
advance
buttonUp
buttonUp
\$advance
\$advance
Dismiss
dismiss
buttonUp
buttonUp
Fdismiss
DISMISS
$Contents$
dismiss
dismiss
buttonUp
dismiss
buttonUp
background
0bringToFront
foreground
Click on the name of the section that you wish to go toay
$Contents$
selectedTextlines
"Pages"
"$Shared$"
advance
buttonUp
buttonUp
Pages
$Shared$
\$advance
Dismiss
dismiss
buttonUp
buttonUp
Fdismiss
DISMISS
$Pages$
dismiss
dismiss
buttonUp
dismiss
buttonUp
background
0bringToFront
foreground
Click on the name of the page you wish to seeplayyyyyy
$Pages$
selectedTextlines
advance
buttonUp
buttonUp
\$advance
Dismiss
dismiss
buttonUp
buttonUp
Fdismiss
DISMISS
Common
$Common$
Shared
$Shared$
Master
$Scripts$
$Master$
Title
$Title$
$Standard$
$Standard$+
This page and its background contain objects used during compilation. Some objects are copied to background or to document pages, others contain skeleton scripts..
Skeleton Scripts
Popup
--Template
activating a Popup
"%1"
"$Shared$"
showPopup
buttonUp
buttonUp
$Shared$
showPopup
Activate Popup
-- Script
link
a Page
advance "%1"
buttonUp
buttonUp
\$advance
Link to Page or Book
Blank
FormatBookScript
-- This
copied
formats are extracted
sysRuntime
<only."
You may inspect
scripts
you wish."
f"Exit"
"Inspect"
enterBook
enterBook
This book contains IDC formats only.
This book contains IDC formats only. You may inspect the objects and scripts if you wish.